<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>稿件详情</title>

    <link href="https://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
    <link href="../resource/hotui/css/font-awesome.min.css" th:href="@{/resource/hotui/css/font-awesome.min.css}"
          rel="stylesheet">
    <!-- Morris -->
    <link href="https://cdn.bootcss.com/morris.js/0.4.3/morris.css" rel="stylesheet">
    <link href="https://cdn.bootcss.com/animate.css/2.1.1/animate.min.css" rel="stylesheet">

    <link href="../resource/hotui/css/style.min-1.0.8.css" th:href="@{/resource/hotui/css/style.min-1.0.8.css}"
          rel="stylesheet">

    <!--checkbox-->
    <link href="https://cdn.bootcss.com/awesome-bootstrap-checkbox/0.3.5/awesome-bootstrap-checkbox.min.css"
          rel="stylesheet">
</head>

<body class="gray-bg">
<form id="saveForm">
    <div class="wrapper wrapper-content animated fadeInRight tooltip-demo" th:object="${contribution}">
        <div class="row">
            <div class="col-lg-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title" style="min-height: 60px;">
                        <h5>稿件详情</h5>

                        <div class="ibox-tools">
                            <button type="button" class="btn btn-primary btn-sm m-b-none m-l"
                                    onclick="" th:onclick="|javascript:window.location.href='@{/bList}'|">返回投稿列表
                            </button>
                        </div>
                    </div>

                    <div class="ibox-content">
                        <div class="panel-body form-horizontal">
                            <div class="form-group form-inline">
                                <label class="col-sm-2 control-label">学校:</label>

                                <label class="col-sm-10 control-label" style="text-align: left;" th:text="*{school}"></label>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group form-inline">
                                <label class="col-sm-2 control-label">班级:</label>

                                <label class="col-sm-10 control-label" style="text-align: left;" th:text="*{className}"></label>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group form-inline">
                                <label class="col-sm-2 control-label">小记者名称:</label>

                                <label class="col-sm-10 control-label" style="text-align: left;" th:text="*{reporterName}"></label>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group form-inline">
                                <label class="col-sm-2 control-label">小记者证件:</label>

                                <label class="col-sm-10 control-label" style="text-align: left;" th:text="*{reporterNum}"></label>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group form-inline">
                                <label class="col-sm-2 control-label">投稿标题:</label>

                                <label class="col-sm-10 control-label" style="text-align: left;" th:text="*{title}"></label>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group form-inline">
                                <label class="col-sm-2 control-label">正文内容:</label>

                                <div class="col-sm-10">
                                    <textarea style="width: 500px;height: 500px;" readonly="readonly" type="text" th:text="*{content}" id="username" name="username" class="form-control">
                                    </textarea>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="file_upload_modal" class="modal-content-tag">
            <div id="demo" class="demo"></div>
        </div>

    </div>
</form>
<!--基础框架js-->
<script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>

<script src="../resource/hotui/js/content.min.js" th:src="@{/resource/hotui/js/content.min.js}"></script>
</body>

</html>
